﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraReports.UI;

namespace DTD2013.MainApp.UI
{
    public partial class guiReportDesigner : Form
    {
        /// <summary>
        /// Report designer
        /// </summary>
        private XtraReport RpDesigner;

        public guiReportDesigner()
        {
            InitializeComponent();
        }

        public guiReportDesigner(XtraReport rpDesigner)
        {
            InitializeComponent();
            RpDesigner = new XtraReport();
            RpDesigner = rpDesigner;
        }

        private void guiReportDesigner_Load(object sender, EventArgs e)
        {
            xrDesignMdiController1.OpenReport(RpDesigner);
        }
    }
}
